package com.guanyong.admin.controllers.page;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Created by mxk on 2017/5/25.
 */
@Controller
@RequestMapping("/page/admin")
public class AdminPage extends baseController {

    @RequestMapping({"/adminuserlist"})
    String adminUserList(HttpServletRequest request) {

        return "/adminuser/adminuserlist";
    }


    @RequestMapping({"/password"})
    String adminPassword(HttpServletRequest request) {

        return "/adminuser/password";
    }

    @RequestMapping({"/photo"})
    String adminPhoto(HttpServletRequest request) {

        return "/adminuser/modifyPhoto";
    }

    @RequestMapping({"/useradd"})
    String adminUserAdd(HttpServletRequest request) {

        return "/adminuser/adminuseradd";
    }
}
